\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{macros/myicde}

\makeatletter
\let\NAT@parse\undefined
\let\proof\undefined
\let\endproof\undefined
\def\thesubsubsectiondis{\Alph{subsection}.\arabic{subsubsection})}
\def\theparagraphdis{\hskip -0.5em}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
  {1.5ex plus 1.5ex minus 0.5ex}%
  {0.7ex plus .5ex minus 0ex}%
  {\normalfont\normalsize\itshape}}%
\def\paragraph{\@startsection{paragraph}{4}{\z@}%
  {0.5ex \@plus.1ex \@minus.2ex}%
  {-1em}%
  {\normalfont\normalsize\bfseries}}
\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
  {6\p@ \@plus \p@ \@minus \p@}%
  {-5\p@}%
  {\itshape}}
\let\thanks\@IEEESAVECMDthanks
\def\thebibliography#1{\section*{References}%
    \addcontentsline{toc}{section}{References}%
    \footnotesize %
    \list{\@biblabel{\@arabic\c@enumiv}}%
    {\settowidth\labelwidth{\@biblabel{#1}}%
    \leftmargin\labelwidth
    \advance\leftmargin\labelsep\relax
    \itemsep 0pt plus .5pt\relax%
    \usecounter{enumiv}%
    \let\p@enumiv\@empty
    \renewcommand\theenumiv{\@arabic\c@enumiv}}%
    \let\@IEEElatexbibitem\bibitem%
    \def\bibitem{\@IEEEbibitemprefix\@IEEElatexbibitem}%
\def\newblock{\hskip .11em plus .33em minus .07em}%
\if@technote\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty100%
\else\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty500\fi%
    \sfcode`\.=1000\relax}
\def\fnum@table{Table~\thetable}
\long\def\@makecaption#1#2{%
% test if is a for a figure or table
\ifx\@captype\@IEEEtablestring%
\@IEEEtablecaptionsepspace% V1.6 was a hard coded 8pt
\fi
\@IEEEfigurecaptionsepspace% V1.6 was a hard coded 5pt
% 3/2001 use footnotesize, not small; use two nonbreaking spaces, not one
\setbox\@tempboxa\hbox{\footnotesize #1.~~ #2}%
\ifdim \wd\@tempboxa >\hsize%
% if caption is longer than a line, let it wrap around
\setbox\@tempboxa\hbox{\footnotesize #1.~~ }%
\parbox[t]{\hsize}{\footnotesize \noindent\unhbox\@tempboxa#2}%
% if caption is shorter than a line,
% allow user to control short figure caption justification (left or center)
\else%
\ifcenterfigcaptions \hbox to\hsize{\footnotesize\hfil\box\@tempboxa\hfil}%
\else \hbox to\hsize{\footnotesize\box\@tempboxa\hfil}%
\fi\fi}
\def\@IEEEprocessthesectionargument#1{%
\@ifmtarg{#1}{%
\@IEEEappendixsavesection*{Appendix \thesectiondis}%
\addcontentsline{toc}{section}{Appendix \thesection}}{%
\@IEEEappendixsavesection*{Appendix \thesectiondis. #1}%
\addcontentsline{toc}{section}{Appendix \thesection: #1}}}
\makeatother

\renewenvironment{appendix}{\appendices}{}
\useRomanappendicesfalse

% Apply our own customization:
\usepackage{times}
\input{macros/papermac}
